package org.ative.chs;

import java.io.BufferedReader;
import java.io.IOException;

public class AutoReader extends Thread {

	private BufferedReader reader;
	public AutoReader(BufferedReader reader){
		this.reader = reader;
	}
	
	@Override
    public void run() {
		
		try {
			while(reader.readLine()!= null){

			}
		} catch (IOException e) {
			// cry more
			//e.printStackTrace();
		}
	}
}
